var stat_url = "https://myad.91jin.com/adstatistics/count/adddata";
var stat_guoxin_url0 = "https://me.91guoxin.com/domain";
var stat_guoxin_url1 = "https://me.91jin.com/domain";
var stat_guoxin_url2 = "https://me.91shihua.com/api/html/cookie";

function gxcountData(){
			 $.ajax({
		    		type : "get",
		    		async:false,
		    		url : stat_url+"?loadurl="+encodeURIComponent(window.location.href),
		    		dataType : "jsonp",
		    		jsonp: "jsonpCallback",
		    		success : function(data){
		    			
		    			$.ajax({
	                        type: "get",
	                        async: false,
	                        url: stat_guoxin_url0 + "?gxgoldcode=" + data.gxgoldcode + "&gxgoldcodeall=" +data.gxgoldcodeall,
	                        dataType: "jsonp",
	                        jsonp: "jsonpCallback",
	                        success: function (data) {

	                        }
	                    });
		    			$.ajax({
	                        type: "get",
	                        async: false,
	                        url: stat_guoxin_url1 + "?gxgoldcode=" + data.gxgoldcode + "&gxgoldcodeall=" +data.gxgoldcodeall,
	                        dataType: "jsonp",
	                        jsonp: "jsonpCallback",
	                        success: function (data) {

	                        }
	                    });
		    			$.ajax({
	                        type: "get",
	                        async: false,
	                        url: stat_guoxin_url2 + "?gxgoldcode=" + data.gxgoldcode + "&gxgoldcodeall=" +data.gxgoldcodeall,
	                        dataType: "jsonp",
	                        jsonp: "jsonpCallback",
	                        success: function (data) {

	                        }
	                    });
		    		},
		    		error:function(){
		    			//alert('fail');
		    		}
		    	});	 
    	
	}
    	
	
	function getQueryString(name) {
		var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
		var r = window.location.search.substr(1).match(reg);
		if (r != null) return unescape(r[2]); return null;
	}
